#ifndef __BSP_SPI_H__
#define __BSP_SPI_H__

#include "spi.h"
#include "gpio.h"

#define EVB_SPI0_CS_PORT      GpioPortE
#define EVB_SPI0_CS_PIN       GpioPin12
#define EVB_SPI0_SCK_PORT     GpioPortE
#define EVB_SPI0_SCK_PIN      GpioPin13
#define EVB_SPI0_MISO_PORT    GpioPortE
#define EVB_SPI0_MISO_PIN     GpioPin14
#define EVB_SPI0_MOSI_PORT    GpioPortE
#define EVB_SPI0_MOSI_PIN     GpioPin15


void BSP_Spi_Init(void);
void Master_SPI_Read2bytes(uint8_t* u8RxBuf);


#endif

